All Questions
7 questions
0votes
1answer
458views
4votes
1answer
155views
Factory pattern for creating embossing machines
I'm working on a program that creates a file for a specific embosser machine (machine that creates plastic bank card for example). I have 3 embosser machines and all of them create different files. ...
5votes
1answer
205views
Service for generating faked objects
I'm using the Bogus library to mock up some data for testing. This is my main method demonstrating how the faking service should be used: ...
4votes
1answer
828views
C++ implementation of the decorator pattern
This is a C++ implementation of the decorator pattern. I am also learning about interfaces and (pure) virtual functions. ...
4votes
2answers
1kviews
Validating Shift class through builder pattern
I have a Shift class that looks like this: ...
2votes
2answers
1kviews
Strategy pattern using an abstract class and an interface
I have implemented some sort of the strategy pattern using an abstract class and an interface: ...
2votes
1answer
677views
Ogg audio format conversion classes
This is my command interface: public interface IConverter { void convert(); } This is my Receiver class: ...